Knowing how much a product sells for is useful, but it does not tell you how much of that sale your business actually keeps.
This is where profit margin becomes important.
A Shopify store can have products that generate strong sales but produce very little profit. Another product may have fewer sales but a much better margin. Looking at profit margin for each product helps you understand which products are contributing the most to your business and where your pricing or costs may need attention.
The calculation itself is straightforward. The difficult part is making sure you are using the right revenue and cost numbers.
What Is Product Profit Margin?
Product profit margin shows how much profit remains from a product's revenue after subtracting the costs included in your calculation.
The basic formula is:
Profit Margin = Profit divided by Revenue multiplied by 100
For example, if a product generates 100 dollars in revenue and leaves 30 dollars in profit:
30 divided by 100 multiplied by 100 = 30 percent
The product has a 30 percent profit margin.
This means that after the costs included in the calculation, 30 cents remains as profit for every dollar of revenue.
Profit Margin Is Different From Markup
Markup and profit margin are often confused, but they are not the same calculation.
Suppose you purchase a product for 40 dollars and sell it for 80 dollars.
Your profit before other costs is 40 dollars.
The markup is:
40 divided by 40 multiplied by 100 = 100 percent
The profit margin is:
40 divided by 80 multiplied by 100 = 50 percent
The markup is based on the cost, while the profit margin is based on the selling price or revenue.
For Shopify store owners, profit margin is particularly useful when comparing the profitability of different products.
Step 1: Find the Actual Product Revenue
Start with the revenue generated by the product.
Do not automatically assume that the original product price is the amount you received.
Discounts, refunds, returns, and other adjustments can affect the actual revenue associated with a sale.
For example, if a product is listed at 100 dollars but a customer receives a 20 dollar discount, the actual product revenue is 80 dollars before considering other adjustments.
Using actual sales data gives you a more realistic margin.
Step 2: Find the Product Cost
Next, determine how much the product costs your business.
For physical products, this is often the amount paid to purchase or manufacture the item.
For example:
Product revenue: 80 dollars
Product cost: 30 dollars
The amount remaining before other costs is:
80 dollars minus 30 dollars = 50 dollars
This is sometimes referred to as gross profit when the calculation is based on revenue minus the cost of goods sold.
Step 3: Include Other Costs When Appropriate
The profit margin you calculate depends on which costs you include.
Some stores calculate a basic product margin using only revenue and product cost.
Others want a more complete contribution margin that also considers costs such as:
Payment processing fees
Shipping and fulfillment
Packaging
Advertising
Transaction fees
Discounts
Refunds
Returns
Other directly attributable costs
For example, suppose your product generates 80 dollars in revenue.
Product cost: 30 dollars
Payment fee: 3 dollars
Shipping and fulfillment: 8 dollars
Advertising cost: 7 dollars
Total included costs: 48 dollars
Profit:
80 dollars minus 48 dollars = 32 dollars
Profit margin:
32 dollars divided by 80 dollars multiplied by 100 = 40 percent
The product has a 40 percent margin based on the costs included in this example.
Step 4: Calculate the Profit
Once you know the revenue and applicable costs, calculate the profit.
The basic formula is:
Profit = Revenue minus Total Included Costs
Suppose a product generated 150 dollars in actual revenue.
Your included costs are:
Product cost: 60 dollars
Shipping and fulfillment: 12 dollars
Payment processing: 5 dollars
Advertising: 18 dollars
Other applicable costs: 5 dollars
Total costs are 100 dollars.
Your profit is:
150 dollars minus 100 dollars = 50 dollars
Step 5: Calculate the Profit Margin
Now use the profit margin formula.
Profit Margin = Profit divided by Revenue multiplied by 100
Using the example above:
50 dollars divided by 150 dollars multiplied by 100 = 33.33 percent
The product has a 33.33 percent profit margin based on the costs included in the calculation.
A Simple Example With a Shopify Product
Suppose you sell a product for 100 dollars.
The customer receives a 10 dollar discount, so your actual revenue is 90 dollars.
Your costs are:
Product cost: 35 dollars
Payment processing: 3 dollars
Shipping and fulfillment: 8 dollars
Advertising: 12 dollars
Other applicable costs: 2 dollars
Your total costs are 60 dollars.
Your profit is:
90 dollars minus 60 dollars = 30 dollars
Your profit margin is:
30 dollars divided by 90 dollars multiplied by 100 = 33.33 percent
So although the product is listed at 100 dollars, the actual profit margin based on the costs included here is 33.33 percent.
Why You Should Calculate Margin for Every Product
Looking at your store's overall margin is useful, but it can hide what is happening at the product level.
Imagine your store sells four products.
Product A has a 45 percent margin.
Product B has a 32 percent margin.
Product C has a 12 percent margin.
Product D has a negative margin.
Your overall store may still be profitable because the stronger products are offsetting the weaker ones.
But if you do not look at individual products, you may continue investing money into products that are not performing well.
Product level margin helps you see the difference.
High Revenue Does Not Always Mean High Margin
Consider two products.
Product A generates 20,000 dollars in revenue and has a 10 percent margin.
Product B generates 8,000 dollars in revenue and has a 35 percent margin.
Product A produces 2,000 dollars in profit.
Product B produces 2,800 dollars in profit.
Product A generated more revenue, but Product B generated more profit.
This is why revenue, profit, and profit margin should be viewed together.
How Discounts Affect Profit Margin
Discounts can have a significant impact on margin.
Suppose a product sells for 100 dollars and costs 40 dollars.
Before the discount:
Revenue: 100 dollars
Product cost: 40 dollars
Profit: 60 dollars
Profit margin: 60 percent
Now suppose you offer a 25 percent discount.
The customer pays 75 dollars.
If the product still costs 40 dollars:
Revenue: 75 dollars
Product cost: 40 dollars
Profit: 35 dollars
Profit margin:
35 dollars divided by 75 dollars multiplied by 100 = 46.67 percent
The discount reduced the margin from 60 percent to 46.67 percent before considering other costs.
This is why promotions should be evaluated based on their effect on profitability, not just the number of additional orders they generate.
How Advertising Can Affect Product Margin
Advertising can make an otherwise profitable product much less profitable.
Suppose a product generates 100 dollars in revenue and has 40 dollars in product and fulfillment costs.
Without advertising:
Profit = 60 dollars
Profit margin = 60 percent
Now assume 20 dollars of advertising cost is attributed to that sale.
Profit becomes:
60 dollars minus 20 dollars = 40 dollars
Profit margin becomes:
40 dollars divided by 100 dollars multiplied by 100 = 40 percent
The product still makes money, but the margin has fallen from 60 percent to 40 percent.
The exact advertising attribution method will vary between businesses, so it is important to use a consistent method when comparing products.
Gross Margin vs. More Complete Profit Margin
There are different ways to measure margin, and the name of the metric matters.
A basic gross margin calculation generally looks at revenue after the cost of goods sold.
For example:
Revenue: 100 dollars
Cost of goods sold: 40 dollars
Gross profit: 60 dollars
Gross margin: 60 percent
A more detailed product profitability calculation may subtract additional costs such as payment fees, shipping, fulfillment, advertising, and other directly attributable expenses.
Using the same example, if those additional costs total 20 dollars:
Profit: 40 dollars
Profit margin: 40 percent
Both calculations can be useful.
The important thing is to clearly define what your margin includes so that you are comparing similar numbers.
What About Negative Profit Margin?
A product can have a negative profit margin.
Suppose you generate 50 dollars in revenue but the costs included in your calculation total 60 dollars.
Your profit is:
50 dollars minus 60 dollars = negative 10 dollars
Your profit margin is:
negative 10 dollars divided by 50 dollars multiplied by 100 = negative 20 percent
This means you are losing 20 cents for every dollar of revenue under that calculation.
A negative margin does not automatically mean the product should be removed from your store. There may be strategic reasons for selling it, such as attracting customers who purchase other products.
But it is something worth knowing rather than overlooking.
Product Margin Can Help With Pricing
Profit margin is also useful when reviewing product prices.
Suppose your product has a selling price of 50 dollars and the costs included in your calculation are 35 dollars.
Your profit is 15 dollars.
Your margin is:
15 divided by 50 multiplied by 100 = 30 percent
If your costs increase to 40 dollars, your profit falls to 10 dollars.
Your margin becomes:
10 divided by 50 multiplied by 100 = 20 percent
The product is still generating revenue, but its economics have changed.
Knowing your margin makes these changes easier to identify.
Product Margin Can Help With Advertising Decisions
Not every product deserves the same advertising budget.
A product with a strong margin may be able to support higher customer acquisition costs than a product with a very small margin.
For example, if Product A has a 50 percent margin and Product B has a 15 percent margin, spending the same amount on advertising for both products may produce very different results.
This does not mean that high margin products should always receive more advertising.
Demand, conversion rate, customer lifetime value, inventory, competition, and other factors also matter.
But margin gives you an important financial number to consider.
Product Margin Can Help With Inventory Decisions
Inventory decisions are another area where product profitability matters.
A product that sells quickly but has a very small margin may not be as attractive as a slower selling product with a much stronger margin.
By looking at sales volume and margin together, you can get a better idea of which products deserve more inventory investment.
Common Mistakes When Calculating Shopify Product Margin
There are several mistakes that can make your margin numbers misleading.
Using the Listed Price Instead of Actual Revenue
If customers regularly use discounts, the listed price may not represent what your store actually receives.
Ignoring Product Costs
Revenue without product cost does not tell you whether the product is profitable.
Forgetting Shipping and Fulfillment
Shipping and fulfillment can significantly affect the amount left from a sale.
Ignoring Payment Fees
Payment processing costs can add up across a large number of orders.
Treating Advertising as Free
If a product depends heavily on paid advertising, ignoring that cost can make its profitability appear better than it really is.
Mixing Different Margin Definitions
A gross margin and a more complete contribution margin are not necessarily measuring the same thing.
Make sure your team knows exactly what is included in each calculation.
How to Track Product Margins More Efficiently
Calculating the margin for a few products manually is manageable.
Doing it for hundreds of products and thousands of orders is much more difficult.
Prices change.
Product costs change.
Discounts change.
Shipping costs change.
Advertising expenses change.
Refunds happen.
As your Shopify store grows, keeping these numbers updated manually can become time consuming.
A product profitability tracking system can bring relevant sales and cost information together so you can monitor margins without constantly rebuilding calculations in a spreadsheet.
What Your Product Margin Dashboard Should Show
A useful product margin report can include:
Product name
Units sold
Actual revenue
Product cost
Discounts
Refunds
Shipping and fulfillment costs
Payment fees
Advertising costs
Profit
Profit margin
With these numbers together, it becomes easier to compare products and identify changes in performance.
How Often Should You Check Product Margins?
There is no single schedule that works for every store.
A small store with stable pricing may review margins monthly.
A store with frequent promotions, changing supplier prices, or significant advertising activity may need to check them more often.
It is particularly useful to review margins when:
Product costs increase
You change prices
You launch a discount
Advertising costs change
Shipping costs increase
A product starts receiving more refunds
You introduce a new product
You change suppliers
Regular reviews can help you catch margin problems before they become larger issues.
Final Thoughts
Profit margin gives Shopify store owners a clearer view of how much value each product is generating after the costs included in the calculation.
The basic formula is simple:
Profit Margin = Profit divided by Revenue multiplied by 100
The real value comes from using accurate revenue and cost information and applying the same calculation consistently.
Once you know the margin for every product, you can compare products more effectively, review pricing, evaluate promotions, understand advertising performance, and make better inventory decisions.
Revenue tells you what customers are spending.
Profit tells you what remains.
Profit margin shows how efficiently that revenue is turning into profit.
For a Shopify store that wants to grow sustainably, all three numbers deserve attention.